﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;

namespace SnakeGame
{
    class SnakeDrawing        
    {
        Snake snake = new Snake();
        private int _col;
        private int _row;
        private int _y = 1;
        private int _x = 1;

        public int Y
        {
            get { return _y; }
            set { _y = value; }
        }
        public int X
        {
            get { return _x; }
            set { _x = value; }
        }
        public int Col
        {
            get { return _col; }
            set { _col = value; }
        }
        public int Row
        {
            get { return _row; }
            set { _row = value; }
        }

        public void SetSnakePosition()
        {
            Console.SetCursorPosition(_col + _x, _row + _y);
        }
        public void DrawSnake()
        {          
            Console.Write("{0}{1}{2}{3}", snake._SnakeBody[0], snake._SnakeBody[1], snake._SnakeBody[2], snake._SnakeHead);            
        }
    }
}
